package com.nf.action;

import com.nf.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

@Controller("action")
public class Action {

    @Autowired
    private TestService testService;

    public void test(){
        System.out.println("程序执行");
        testService.转账();
    }
}
